Skip to content

Conversation

ATulenkov
Copy link

  • Added input guardrails for approaches

  • Added output guardrails for chat approaches

  • UI updated to handle guardrails changes

  • Minor changes in eval framework (to handle guardrail changes)

Refactor code in Chat component
… markdown formatting for natural language responses
…dependencies, and upgrade vite to version 5.4.6
…ved readability

Revert changes made by VSCode/Copilot
Update prompt to limit responses to indexed data.
Removing block from going outside sources from user prompt, it's been moved to the main prompt
tweaking limits down for token usage - needs testing
Tweaking/aligning to main approach.py
Adjustment to prompt to refine:
- Using source index only
- Table formatting
- Clarifying questions
- Refactored the chat approach code in `chatapproach.py` to improve readability and maintainability.
- Updated the assistant's prompts to provide a more informative introduction about GovGPT and its role as a New Zealand Government chat companion.

Closes Azure-Samples#123
Update ExmapleList to reflect changes few_shots
Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your files. Review and fix the paths to resolve this issue.

Check the file paths and associated broken URLs inside them. For more details, check our Contributing Guide.

File Full Path Issues
ci-linkscraping/parsed-lists/readme.md
#LinkLine Number
1https://www.business.govt.nz11

@pamelafox
Copy link
Collaborator

Is this intended to be a public PR? It does not seem so, so I'm guessing you'll want to close it. Neat to hear that someone's using guardrails. (I'm not going to peek at your code, however, assuming its an unintentional PR).

@ATulenkov ATulenkov closed this Jan 13, 2025
@ATulenkov
Copy link
Author

Is this intended to be a public PR? It does not seem so, so I'm guessing you'll want to close it. Neat to hear that someone's using guardrails. (I'm not going to peek at your code, however, assuming its an unintentional PR).

Created by a mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants